#pragma once


#include "Util\ResConfig.h"
#include "FAlpResBtn.h"

#include "Control\NumberCtrl.h"
#include "Control\TimeNumCtrl.h"
#include "ZImprove\FAlpNumCtrl.h"
#include "ICtrlInfo.h"


class GUI_API CIResCfg 
:public CResConfig
{
public:
	CIResCfg( );
	virtual ~CIResCfg(void);

	BOOL LoadIBtnParam(IBtnInfo &btnInfo,wstring strkey);

	BOOL LoadIBmpNumParam(IBmpNumInfo &btnInfo,wstring strkey);
	void SetBmpNumParam(CNumberCtrl *pBmpNum,IBmpNumInfo &btnInfo);


	BOOL GetTimeNumParam(ITimeNumInfo &btnInfo,wstring strkey);
	void SetTimeNumParam(CTimeNumCtrl *pTimeNum,ITimeNumInfo &btnInfo);
	BOOL ReInitFAlpBtn( CFAlpResBtn *pBtn ,IBtnInfo &btnInfo );
	BOOL ReInitFAlpBtn( CFAlpResBtn *pBtn ,IBtnInfo &btnInfo ,CMyUnCompress* pPack );

	BOOL  LoadIAlpNumInfo( IAlpNumInfo &info,wstring strkey );
	void  SetAlpNumInfo( CFAlpNumCtrl *pBmpNum,IAlpNumInfo &Info,CMyUnCompress* pPack=NULL );


};
